package cn.green.core.front.model;

import com.alibaba.fastjson.JSONObject;
import lombok.Data;

/**
 * @author wang.yishu
 * @version 1.0
 * @className Fetch
 * @description 查询条件组件
 * @date 2025/1/9 14:09
 */
@Data
public abstract class Fetch {

    protected String field;

    protected String fetchUrl;

    protected String title;

    public abstract String widget();

    public abstract String type();

    public abstract JSONObject toFront();
}
